% Test `@MinimalRedundancyMaximalRelevance`

%%

clear classes
clc

%%

generate_dataset_iris;

%%

[fea, sco] = mrmr_mid_d(ds.dmX.mat, ds.dmY.mat(:, 1), 4);

%%

mRMR = MinimalRedundancyMaximalRelevance();
mRMR.build(ds.dmX.mat, ds.dmY.mat(:, 1));
mRMR.model.zRank%>>

%%

mRMR.setFeatureSubsetSize(2);
mRMR.build(ds.dmX.mat, ds.dmY.mat(:, 1));
mRMR.model.zRank%>>

%%

mRMR.setScheme('miq');
mRMR.setFeatureSubsetSize(1 - eps);
mRMR.build(ds.dmX.mat, ds.dmY.mat(:, 1));
mRMR.model.zRank%>>
